#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;
	/* TODO: Add more members if necessary */
	uint32_t init_num;
	char wp_expr[128];
	bool using;
} WP;

WP* ret_head();

void init_wp_pool();

WP* new_wp();

void wpfree(int N);

void free_wp(WP *wp);



#endif
